package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("free_carry_mode")
public class FreeCarryModeDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 运费模板ID */
    @TableField("free_template_id")
    private Long freeTemplateId;
    /** 运送地区（存id,格式为'省-市-区',以'|'分隔） */
    @TableField("region")
    private String region;
    /** 首件数量 */
    @TableField("first_piece")
    private Long firstPiece;
    /** 首重重量KG */
    @TableField("first_weight")
    private BigDecimal firstWeight;
    /** 首体积大小m³ */
    @TableField("first_bulk")
    private BigDecimal firstBulk;
    /** 首费 */
    @TableField("first_price")
    private BigDecimal firstPrice;
    /** 续件 */
    @TableField("second_piece")
    private Long secondPiece;
    /** 续重 */
    @TableField("second_weight")
    private BigDecimal secondWeight;
    /** 续体积 */
    @TableField("second_bulk")
    private BigDecimal secondBulk;
    /** 续费 */
    @TableField("second_price")
    private BigDecimal secondPrice;
}
